/**
 * 列表视图
 */
Ext.define('cc.noself.view.NoSelfBusGridView', {
	extend: 'Ext.grid.Panel',
	uses: ['cc.noself.store.NoSelfBus'],
	
	cls: 'c-grid-header',
	
	initComponent: function(){
		var me = this;
		
		if(!me.store){
			me.store = Ext.create('cc.noself.store.NoSelfBus');
		}
		
		if(!me.columns){
			me.columns = [{
				text: '',
				dataIndex: 'id'
			}, {
				text: '',
				dataIndex: 'code'
			}, {
				text: '',
				dataIndex: 'wx_no'
			}, {
				text: '',
				dataIndex: 'gs_no'
			}, {
				text: '',
				dataIndex: 'customer'
			}, {
				text: '',
				dataIndex: 'bg_date'
			}, {
				text: '',
				dataIndex: 'bg_no'
			}, {
				text: '',
				dataIndex: 'bg_money'
			}, {
				text: '',
				dataIndex: 'port_from'
			}, {
				text: '',
				dataIndex: 'port_to'
			}, {
				text: '',
				dataIndex: 'ts_date'
			}, {
				text: '',
				dataIndex: 'bus_way'
			}, {
				text: '',
				dataIndex: 'get_way'
			}, {
				text: '',
				dataIndex: 'ny_org'
			}, {
				text: '',
				dataIndex: 'ny_date'
			}, {
				text: '',
				dataIndex: 'ny_money'
			}, {
				text: '',
				dataIndex: 'zf_org'
			}, {
				text: '',
				dataIndex: 'zf_date'
			}, {
				text: '',
				dataIndex: 'zf_money'
			}, {
				text: '',
				dataIndex: 'dz_org'
			}, {
				text: '',
				dataIndex: 'dz_date'
			}, {
				text: '',
				dataIndex: 'dz_money'
			}, {
				text: '',
				dataIndex: 'kj_org'
			}, {
				text: '',
				dataIndex: 'kj_date'
			}, {
				text: '',
				dataIndex: 'kj_money'
			}, {
				text: '',
				dataIndex: 'dl_org'
			}, {
				text: '',
				dataIndex: 'dl_date'
			}, {
				text: '',
				dataIndex: 'dl_money'
			}, {
				text: '',
				dataIndex: 'jh_money'
			}, {
				text: '',
				dataIndex: 'cg_money'
			}, {
				text: '',
				dataIndex: 'ts_money'
			}, {
				text: '',
				dataIndex: 'other_money'
			}, {
				text: '',
				dataIndex: 'payed_money'
			}, {
				text: '',
				dataIndex: 'paying_money'
			}, {
				text: '',
				dataIndex: 'jssxf'
			}, {
				text: '',
				dataIndex: 'kjscj'
			}, {
				text: '',
				dataIndex: 'remark'
			}, {
				text: '',
				dataIndex: 'ywy'
			}, {
				text: '',
				dataIndex: 'ywy_date'
			}, {
				text: '',
				dataIndex: 'zdr'
			}, {
				text: '',
				dataIndex: 'zd_date'
			}, {
				text: '',
				dataIndex: 'shr'
			}, {
				text: '',
				dataIndex: 'sh_date'
			}, {
				text: '',
				dataIndex: 'cdr'
			}, {
				text: '',
				dataIndex: 'cd_date'
			}, {
				text: '',
				dataIndex: 'valid'
			}];
		}
		
		me.callParent(arguments);
	}
});
